how error propagates to output in duo binary encoding scheme